package com.clotingshoppos.modules.order.repository;

import com.clotingshoppos.common.base.BaseRepository.BaseRepository;
import com.clotingshoppos.modules.order.entity.OrderEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

/**
 * @InterfaceName: OrderRepository
 * @Description: 订单数据库接口
 * @Author: zhandad
 * @Date: 2019-03-14 22:40
 * @Version
 */
@Repository
public interface OrderRepository extends PagingAndSortingRepository<OrderEntity, String> {
    Page<OrderEntity> findAll(Pageable pageable);

}
